<%@ page contentType="text/html; charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
	<title>Library</title>
</head>
<body>
<table>
	<c:forEach items="${books}" var="book">
		<tr>      
        	<td>${book.name}</td>
        	<td>${book.ISBN}</td>
        	<td>
        	<c:forEach items="${book.genreList}" var="genre">
        		${genre.name}
        	</c:forEach>
        	</td>
    	</tr>
	</c:forEach>
</table>
</body>
</html>